package cool.taomu.test

import cool.taomu.lang.GroovyWrapperClassLoader
import cool.taomu.lang.MultiClassLoader.GroovyMultiClassLoader

class ClassLoaderTest {
	def static void main(String[] args){
		var mc = GroovyMultiClassLoader.instance;
		mc.cache.put("1",new GroovyWrapperClassLoader("./usecase",null));
		//var g = new GroovyScript("./usecase");
		println(mc.loadClass("demo.Demo") === null);
		
	}	
}